package com.hiof.beans;

import com.hiof.settings.user.TypeOfAttendant;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: manish
 * Date: 3/23/12
 * Time: 1:43 AM
 * To change this template use File | Settings | File Templates.
 */
public class UserInfo {

    private int userId;
    private String username;
    private String fullname;
    private String profilePicture;
    private String mobilePhone;
    private TypeOfAttendant typeOfAttendant;
    private int attendantId;
    private String attendantCode;
    private List<UserInfo> teamMembers;

    public UserInfo(int userId, String username, String fullname, String profilePicture, String mobilePhone) {
        this.userId = userId;
        this.username = username;
        this.profilePicture = profilePicture;
        this.fullname = fullname;
        this.mobilePhone = mobilePhone;
        this.attendantId = attendantId;
        this.attendantCode = attendantCode;
        this.teamMembers = new ArrayList<UserInfo>();
    }

    public UserInfo() {
        this.teamMembers = new ArrayList<UserInfo>();
    }

    public String getProfilePicture() {
        return profilePicture;
    }

    public void setProfilePicture(String profilePicture) {
        this.profilePicture = profilePicture;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public List<UserInfo> getTeamMembers() {
        return teamMembers;
    }

    public void addMember(UserInfo member) {
        teamMembers.add(member);
    }

    public void setTypeOfAttendant(TypeOfAttendant typeOfAttendant) {
        this.typeOfAttendant = typeOfAttendant;
    }

    public TypeOfAttendant getTypeOfAttendant() {
        return typeOfAttendant;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public int getAttendantId() {
        return attendantId;
    }

    public void setAttendantId(int attendantId) {
        this.attendantId = attendantId;
    }

    public String getAttendantCode() {
        return attendantCode;
    }

    public void setAttendantCode(String attendantCode) {
        this.attendantCode = attendantCode;
    }
}
